home *** CD-ROM | disk | FTP | other *** search
- -- background: 3986 from stack: in.976
- -- bmap block id: 11221
- -- flags: 4000
- -- background id: 0
- -- name:
- ----- HyperTalk script -----
- on openStack
- hide message box
- show menuBar
- pass openStack
- end openStack
-
- on mouseEnter
- global TargetEnter, NewBtn, NewBtnid, NewBtnN
- if TargetEnter <> empty then
- wait 60
- put the short name of the target into NewBtn
- put the target into NewBtnN
- put the id of the target into NewBtnid
- put "Change font of " & NewBtnN
- if word 2 of NewBtnN <> "Button" then exit mouseEnter
- if word 2 of NewBtn is "Button" then
- ask "This Button needs a name." with "Please, type name here."
- if it is empty then exit mouseEnter
- set name of NewBtnN to it
- put it into NewBtn
- end if
- answer "Change font of " & NewBtnN with "Cancel" or "OK"
- if it is "Cancel" then exit mouseEnter
- put empty into TargetEnter
- hide msg
- iconCheck
- end if
- end mouseEnter
-
-
-
- -- part 6 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=180 top=34 right=64 bottom=317
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 16
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name:
-